Oauth api: getting 302 redirection error

using oauth 2,0 for authentication. while deleting extension from Responder’s (has been given access for particular service for creating or deleting extension ) account through api getting this response:

Reponse body:
<//html><//body>You are being <//a href=“https://api.pagerduty.com/”>redirected<///a>.<///body><///html>

Response Status Code: 302

from admin or pagerduty website using same account of reponder i can delete the extension.

Note: I have given service access to this reponder for creating , editing and deleting extension.I can do this from website but getting this error through api

Hey Adarsh,

As this may require some personal information, can you create a support ticket rather than posting on the public community space? Please email support@pagerduty.com with the below information and include the last 4 digits of the API key you are using.

Once I have this I can take a closer look.

Nadia Simmons
Technical Support Specialist
PagerDuty Support